﻿using System.Collections.Generic;
using UnityEngine;

public class Cmd
{ 
}
//选择角色消息

//登录消息
public class LoginCmd : Cmd 
{
    public string Accout;
    public string Password;
}
//角色列表消息
public class RoleListCmd : Cmd 
{
    public List<RoleServer> AllRole = new List<RoleServer>();
}
//角色序号消息
public class RoleIndexCmd : Cmd
{
    public int Index;
}
public class MainRoleThisIdCmd:Cmd{
    public int thisID;
}
//创建角色消息
public class CreateSenceCreature: Cmd
{
    public int ThisID;
    public string Name;
    public int ModelID;

    public Vector3 Pos;
    public Vector3 FaceTo;

    public int Attack;
    public int HP;
    public int MaxHP;
    public int Defence;
}
public class CreateSenceRoleCmd : CreateSenceCreature
{
}
public class CreateSenceNpcCmd : CreateSenceCreature
{
}
//创建NPC消息

//初始进入地图消息
public class EnterMapCmd : Cmd
{
    public int MapID;
}
//跳转到某个地图
public class JumpToMapCmd : Cmd
{
    public int MapID;
}

//跳转消息
public class JumpToCmd : Cmd 
{
    public int ID;
}





